<div class="product_ctn">
<div class="product">
	<?php if(isset($_GET['category_id'])){?>
	<?php if($_GET['category_id']==''){ $cat_id = 1;}else{ $cat_id = $_GET['category_id'];}?>

	
	<h3>Nouveau Produit</h3>
<form action="" method="post" >
<label>Nom du product</label><input type="text" name="product_name" value="">
<label>Numéro du product</label><input type="text" name="product_num" value="">
<label>Prix</label><input type="text" name="product_price" value="0.00"> €
<label>Description</label><textarea name="capture" rows="10" cols="30"></textarea>
<input type="hidden" name="cat_id" value="<?=$cat_id?>">

<br><br>
<input type="submit" value="ajouter"> | <a href="<?=site_url()?>admin990/catalogue/<?=$cat_id?>">Annuler</a>
 <p class="msg"><?php if(isset($msg)){echo $msg;}?></p>
</form> 
 <?php }else{ redirect('admin990/catalogue');}?>
 </div>

<div class="clear"></div>

</div>
</body>
</html>